//
//  CarouselPicture.h
//  SoHuVideo
//
//  Created by dllo on 15/12/9.
//  Copyright © 2015年 Yusijia. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CarouselPictureDelegate <NSObject>

- (void)pushWithUrl:(NSInteger)num;

@end

@interface CarouselPicture : UIView


@property(nonatomic, assign)CGFloat timeInterval;
@property(nonatomic, retain)NSMutableArray *imageUrlArr;/**<接收传入的图片网址数组*/
@property(nonatomic, retain)NSMutableArray *urlArr;
@property (nonatomic, retain)NSMutableArray *titleArr;
@property(nonatomic, assign)id <CarouselPictureDelegate> delegate;

/**
 *  初始化方法
 *
 *  @param frame        大小
 *  @param timeInterval 轮播图时间间隔
 *  @param imageUrlArr  装有轮播图网址的数组
 *  @param urlArr       装有拼接每张轮播图网址的参数的数组
 *
 *  @return 任意对象
 */
- (id)initWithFrame:(CGRect)frame timeInterval:(CGFloat)timeInterval imageUrlArr:(NSArray <NSURL*> *)imageUrlArr urlArr:(NSArray *)urlArr titleArr:(NSArray *)titleArr;


@end
